Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permit init-only initialization in attribute usages #3425

Merged
merged 1 commit into from
May 5, 2020

Conversation

alrz
Copy link
Member

@alrz alrz commented May 4, 2020

@alrz
Copy link
Member Author

alrz commented May 4, 2020

It's common to use { get; set; } properties in order to use named paramters in attributes which shouldn't be needed when initonly is available.

@jcouv
Copy link
Member

jcouv commented May 4, 2020

I like it. I'll let @jaredpar confirm.

@jaredpar
Copy link
Member

jaredpar commented May 5, 2020

Yes this seems completely reasonable.

@jaredpar jaredpar merged commit e006b48 into dotnet:master May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants